package com.qigao.mall.commons.dto;

import com.qigao.mall.commons.enums.GroupStatusEnum;
import com.qigao.mall.commons.enums.SettleStatusEnum;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * Copyright (C), 2020-2020
 * FileName: PromGroupCreateDto
 * Author:   luiz
 * Date:     2020/10/15 14:34
 * Description: 团购查询结果
 */
public class PromGroupResultDto {

    @ApiModelProperty("开始时间")
    private String startTime;
    @ApiModelProperty("结束时间")
    private String endTime;
    @ApiModelProperty("完成时间")
    private String fullTime;
    @ApiModelProperty("团长昵称")
    private String leaderNickName;
    @ApiModelProperty("团长利润")
    private BigDecimal profitAmt;
    @ApiModelProperty("结算时间")
    private String settleTime;
    @ApiModelProperty("商品名称")
    private String itemTitle;

    private String groupNo;
    @ApiModelProperty("团购传递标记：Y：已传递 N:非传递")
    private String showButton="N";
    @ApiModelProperty("商品编号")
    private String itemNo;
    @ApiModelProperty("团长")
    private String leaderUser;
    @ApiModelProperty("团长头像")
    private String leaderUserHeadUrl;

    @ApiModelProperty("目标人数")
    private Integer targetNum;
    @ApiModelProperty("实际参与人数")
    private Integer actNum;

    private String merNo;

    private String shopNo;

    private Integer groupStatus;

    private Integer settleStatus;
    /**
     * 拼团状态
     */
    @ApiModelProperty("拼团状态")
    private String groupStatusName;
    /**
     * 结算状态
     */
    @ApiModelProperty("结算状态")
    private String settleStatusName;

    private List<PromGroupDetailResultDto> promGroupDetailResultDtoList;

    public String getGroupNo() {
        return groupNo;
    }

    public void setGroupNo(String groupNo) {
        this.groupNo = groupNo;
    }

    public String getShowButton() {
        return showButton;
    }

    public void setShowButton(String showButton) {
        this.showButton = showButton;
    }

    public String getItemNo() {
        return itemNo;
    }

    public void setItemNo(String itemNo) {
        this.itemNo = itemNo;
    }

    public String getItemTitle() {
        return itemTitle;
    }

    public void setItemTitle(String itemTitle) {
        this.itemTitle = itemTitle;
    }

    public String getLeaderUser() {
        return leaderUser;
    }

    public void setLeaderUser(String leaderUser) {
        this.leaderUser = leaderUser;
    }

    public Integer getTargetNum() {
        return targetNum;
    }

    public void setTargetNum(Integer targetNum) {
        this.targetNum = targetNum;
    }

    public Integer getActNum() {
        return actNum;
    }

    public void setActNum(Integer actNum) {
        this.actNum = actNum;
    }

    public String getFullTime() {
        return fullTime;
    }

    public void setFullTime(String fullTime) {
        this.fullTime = fullTime;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getMerNo() {
        return merNo;
    }

    public void setMerNo(String merNo) {
        this.merNo = merNo;
    }

    public String getShopNo() {
        return shopNo;
    }

    public void setShopNo(String shopNo) {
        this.shopNo = shopNo;
    }

    public List<PromGroupDetailResultDto> getPromGroupDetailResultDtoList() {
        return promGroupDetailResultDtoList;
    }

    public void setPromGroupDetailResultDtoList(List<PromGroupDetailResultDto> promGroupDetailResultDtoList) {
        this.promGroupDetailResultDtoList = promGroupDetailResultDtoList;
    }

    public String getLeaderUserHeadUrl() {
        return leaderUserHeadUrl;
    }

    public void setLeaderUserHeadUrl(String leaderUserHeadUrl) {
        this.leaderUserHeadUrl = leaderUserHeadUrl;
    }

    public String getLeaderNickName() {
        return leaderNickName;
    }

    public void setLeaderNickName(String leaderNickName) {
        this.leaderNickName = leaderNickName;
    }

    public Integer getGroupStatus() {
        return groupStatus;
    }

    public void setGroupStatus(Integer groupStatus) {
        this.groupStatus = groupStatus;
    }

    public Integer getSettleStatus() {
        return settleStatus;
    }

    public void setSettleStatus(Integer settleStatus) {
        this.settleStatus = settleStatus;
    }

    public String getGroupStatusName() {
        return GroupStatusEnum.getNameByCode(this.groupStatus);
    }

    public void setGroupStatusName(String groupStatusName) {
        this.groupStatusName = groupStatusName;
    }

    public String getSettleStatusName() {
        return SettleStatusEnum.getNameByCode(this.settleStatus);
    }

    public void setSettleStatusName(String settleStatusName) {
        this.settleStatusName = settleStatusName;
    }

    public BigDecimal getProfitAmt() {
        return profitAmt;
    }

    public void setProfitAmt(BigDecimal profitAmt) {
        this.profitAmt = profitAmt;
    }

    public String getSettleTime() {
        return settleTime;
    }

    public void setSettleTime(String settleTime) {
        this.settleTime = settleTime;
    }
}
